home *** CD-ROM | disk | FTP | other *** search
- on mouseUp
- global gtemp
- if the mouseLine <> -1 then
- set gtemp to the mouseLine
- if the number of chars in line gtemp of field "orderfield" < 1 then
- hilite char 1 of field "orderfield"
- set the puppet of sprite 16 to 1
- set the locH of sprite 16 to -200
- set the locV of sprite 16 to 0
- set the castNum of sprite 16 to cast "dummy1"
- set the locH of sprite 16 to 300
- set the locV of sprite 16 to 345
- set the puppet of sprite 16 to 0
- put EMPTY into field "detail"
- updateStage()
- abort()
- end if
- if item 1 of line gtemp of field "masterfield" contains "caster" then
- set the puppet of sprite 16 to 1
- set the locH of sprite 16 to -200
- set the locV of sprite 16 to 0
- set the locH of sprite 11 to -200
- set the locV of sprite 11 to 0
- set the puppet of sprite 18 to 1
- set the visible of sprite 18 to 1
- set the puppet of sprite 18 to 0
- updateStage()
- hilite line gtemp of field "orderfield"
- put EMPTY into field "detail"
- put "Quantity: " & item 16 of line gtemp of field "masterfield" & RETURN after field "detail"
- put "Product: " & item 1 of line gtemp of field "masterfield" & RETURN after field "detail"
- put "Model Number: " & item 2 of line gtemp of field "masterfield" & RETURN after field "detail"
- put "Mounting: " & item 3 of line gtemp of field "masterfield" & RETURN after field "detail"
- put "Wheel Diameter: " & item 4 of line gtemp of field "masterfield" & RETURN after field "detail"
- put "Tread Width: " & item 5 of line gtemp of field "masterfield" & RETURN after field "detail"
- put "Capacity Per Caster: " & item 6 of line gtemp of field "masterfield" & RETURN after field "detail"
- put "Wheel Type: " & item 7 of line gtemp of field "masterfield" & RETURN after field "detail"
- put "Bearing: " & item 8 of line gtemp of field "masterfield" & RETURN after field "detail"
- put "Load Height: " & item 9 of line gtemp of field "masterfield" & RETURN after field "detail"
- put "Swivel Radius: " & item 10 of line gtemp of field "masterfield" & RETURN after field "detail"
- put "Forked Leg Spacing: " & item 11 of line gtemp of field "masterfield" & RETURN after field "detail"
- put "Approx. Weight: " & item 12 of line gtemp of field "masterfield" & RETURN after field "detail"
- put "Options: " & item 13 of line gtemp of field "masterfield" & RETURN after field "detail"
- set the textStyle of field "detail" to "Plain"
- set the textFont of field "detail" to "Times New Roman"
- set the textSize of field "detail" to 11
- set the textHeight of field "detail" to 12
- set the locH of sprite 11 to 26
- set the locV of sprite 11 to 257
- set the locH of sprite 16 to 320
- set the locV of sprite 16 to 345
- set the castNum of sprite 16 to cast item 14 of line gtemp of field "masterfield"
- updateStage()
- end if
- if item 1 of line gtemp of field "masterfield" contains "wheel" then
- set the puppet of sprite 16 to 1
- set the locH of sprite 16 to -200
- set the locV of sprite 16 to 0
- set the locH of sprite 11 to -200
- set the locV of sprite 11 to 0
- set the puppet of sprite 18 to 1
- set the visible of sprite 18 to 0
- set the puppet of sprite 18 to 0
- updateStage()
- hilite line gtemp of field "orderfield"
- put EMPTY into field "detail"
- put "Quantity: " & item 16 of line gtemp of field "masterfield" & RETURN after field "detail"
- put "Product: " & item 1 of line gtemp of field "masterfield" & RETURN after field "detail"
- put "Model Number: " & item 2 of line gtemp of field "masterfield" & RETURN after field "detail"
- put "Wheel Diameter: " & item 3 of line gtemp of field "masterfield" & RETURN after field "detail"
- put "Tread Width: " & item 4 of line gtemp of field "masterfield" & RETURN after field "detail"
- put "Capacity Per Wheel: " & item 5 of line gtemp of field "masterfield" & RETURN after field "detail"
- put "Bearing: " & item 6 of line gtemp of field "masterfield" & RETURN after field "detail"
- put "Wheel Bearing Bore: " & item 7 of line gtemp of field "masterfield" & RETURN after field "detail"
- put "Wheel Hub Length: " & item 8 of line gtemp of field "masterfield" & RETURN after field "detail"
- put "Spanner Bushing Bore: " & item 9 of line gtemp of field "masterfield" & RETURN after field "detail"
- put "Spanner Bushing Length: " & item 10 of line gtemp of field "masterfield" & RETURN after field "detail"
- put "Approx. Weight: " & item 11 of line gtemp of field "masterfield" & RETURN after field "detail"
- put "Option: " & item 13 of line gtemp of field "masterfield" & RETURN after field "detail"
- set the textStyle of field "detail" to "Plain"
- set the textFont of field "detail" to "Times New Roman"
- set the textSize of field "detail" to 11
- set the textHeight of field "detail" to 12
- set the locH of sprite 11 to 35
- set the locV of sprite 11 to 266
- set the castNum of sprite 16 to cast item 14 of line gtemp of field "masterfield"
- set the locH of sprite 16 to 320
- set the locV of sprite 16 to 345
- updateStage()
- end if
- if item 1 of line gtemp of field "masterfield" contains "Floor Lock" then
- set the puppet of sprite 16 to 1
- set the locH of sprite 16 to -200
- set the locV of sprite 16 to 0
- set the locH of sprite 11 to -200
- set the locV of sprite 11 to 0
- set the puppet of sprite 18 to 1
- set the visible of sprite 18 to 1
- set the puppet of sprite 18 to 0
- updateStage()
- hilite line gtemp of field "orderfield"
- put EMPTY into field "detail"
- put "Quantity: " & item 16 of line gtemp of field "masterfield" & RETURN after field "detail"
- put "Product: " & item 1 of line gtemp of field "masterfield" & RETURN after field "detail"
- put "Model Number: " & item 2 of line gtemp of field "masterfield" & RETURN after field "detail"
- put "Top Plate Size: " & item 3 of line gtemp of field "masterfield" & RETURN after field "detail"
- put "Extended Height: " & item 4 of line gtemp of field "masterfield" & RETURN after field "detail"
- put "Retracted Height: " & item 5 of line gtemp of field "masterfield" & RETURN after field "detail"
- put "Bolt Hole Spacing: " & item 6 of line gtemp of field "masterfield" & RETURN after field "detail"
- put "Bolt Hole Size: " & item 7 of line gtemp of field "masterfield" & RETURN after field "detail"
- put "Weight: " & item 8 of line gtemp of field "masterfield" & RETURN after field "detail"
- put "Used with Caster Model Numbers: " & item 9 of line gtemp of field "masterfield" & RETURN after field "detail"
- set the textStyle of field "detail" to "Plain"
- set the textFont of field "detail" to "Times New Roman"
- set the textSize of field "detail" to 11
- set the textHeight of field "detail" to 12
- set the locH of sprite 11 to 35
- set the locV of sprite 11 to 266
- set the castNum of sprite 16 to cast item 14 of line gtemp of field "masterfield"
- set the locH of sprite 16 to 320
- set the locV of sprite 16 to 345
- updateStage()
- end if
- if item 1 of line gtemp of field "masterfield" contains "bumper" then
- set the puppet of sprite 16 to 1
- set the locH of sprite 16 to -200
- set the locV of sprite 16 to 0
- set the locH of sprite 11 to -200
- set the locV of sprite 11 to 0
- set the puppet of sprite 18 to 1
- set the visible of sprite 18 to 0
- set the puppet of sprite 18 to 0
- updateStage()
- hilite line gtemp of field "orderfield"
- put EMPTY into field "detail"
- put "Quantity: " & item 16 of line gtemp of field "masterfield" & RETURN after field "detail"
- put "Product: " & item 1 of line gtemp of field "masterfield" & RETURN after field "detail"
- put "Model Number: " & item 2 of line gtemp of field "masterfield" & RETURN after field "detail"
- put "Bumper Diameter: " & item 3 of line gtemp of field "masterfield" & RETURN after field "detail"
- put "Hole Diameter: " & item 4 of line gtemp of field "masterfield" & RETURN after field "detail"
- put "Thickness: " & item 5 of line gtemp of field "masterfield" & RETURN after field "detail"
- put "Mounting Holes: " & item 6 of line gtemp of field "masterfield" & RETURN after field "detail"
- put "Length: " & item 7 of line gtemp of field "masterfield" & RETURN after field "detail"
- put "Width: " & item 8 of line gtemp of field "masterfield" & RETURN after field "detail"
- put "Inserts: " & item 9 of line gtemp of field "masterfield" & RETURN after field "detail"
- set the textStyle of field "detail" to "Plain"
- set the textFont of field "detail" to "Times New Roman"
- set the textSize of field "detail" to 11
- set the textHeight of field "detail" to 12
- set the locH of sprite 11 to 35
- set the locV of sprite 11 to 266
- set the castNum of sprite 16 to cast item 14 of line gtemp of field "masterfield"
- set the locH of sprite 16 to 320
- set the locV of sprite 16 to 345
- updateStage()
- end if
- end if
- end
-